projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b808215
)
(compute_motion): Keep pos_byte in sync with pos.
author
Miles Bader
<miles@gnu.org>
Sat, 25 Nov 2000 02:08:59 +0000
(
02:08
+0000)
committer
Miles Bader
<miles@gnu.org>
Sat, 25 Nov 2000 02:08:59 +0000
(
02:08
+0000)
src/indent.c
patch
|
blob
|
history
diff --git
a/src/indent.c
b/src/indent.c
index f5f44d93c4049ac582775be9fb8a98bc9b5cd162..2f0786c7878983d58e329049e8659963f0dcb21a 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-1171,6
+1171,7
@@
compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
if (newpos >= to)
{
pos = min (to, newpos);
+ pos_byte = CHAR_TO_BYTE (pos);
goto after_loop;
}